package com.mall.feign.config;

import feign.Logger;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

/**
 * @Author Pan Rundong
 * @Date 2023-02-18 15:50
 * @Desc Feign配置
 */
@EnableFeignClients(basePackages = "com.mall.feign.clients")
@Configuration
public class DefaultFeignConfiguration {
    @Bean
    public Logger.Level logLevel() {
        return Logger.Level.BASIC;
    }
}
